<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>Strat.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="../jslib/resources/css/ext-all.css"/>
    <script type="text/javascript" src="../jslib/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="../jslib/ext-all.js"></script>
  </head>
  
  <body>
    <script type="text/javascript">
    	Ext.onReady(function(){
			//Ext.MessageBox.alert("ok","Shit,where is it!");
			
			var cm = Ext.grid.ColumnModel([{header:"ID",dataIndex:'id'},{header:"Name",dataIndex:'name'},{header:"Sex",dataIndex:'sex'}]);
			var data = [['1','Super Man','Man'],['2','Xiao Qian','Female']];
			var loaddate = new Ext.data.Store({
				proxy:new Ext.data.MemoryProxy(data),
				reader:new Ext.data.ArrayReader({},[{name:'id'},{name:'name'},{name:'sex'}])
				
			});
			loaddate.load();
			var grid = new Ext.grid.Grid({el:"grid",loaddate:loaddate,cm:cm});
			grid.render();
		});
    </script>
	<div id="grid"></div>
  </body>
</html>
